{extend name="public:_base" /}
{block name="js"}
{load href="__STATIC__/admin/hui/lib/My97DatePicker/4.8/WdatePicker.js" /}

{include file="public/_validform"}
{/block}
{block name="main"}


<div class="page-container">
    <form name="" method="post" action="{:\\think\\Url::build(\'dolistsave\')}" id="form">
        <div class="cl pd-5 bg-1 bk-gray">


            <span class="r">共有数据：<strong>{$num}</strong> 条</span>
        </div>

        <div class="mt-10">
            <table class="layui-table">
                <thead>
                <tr class="text-c">
                    <th width="10"><input name="" type="checkbox" value=""></th>
                    <th width="30" style="display: none">{:sort_by('ID','id')}</th>
                    <th width="20">{:sort_by('排序','sort')}</th>
                    <th width="100" class="hidden-xs">{:sort_by('创建时间','create_time')}</th>
                    <th width="20" style="display: none">{:sort_by('状态','status')}</th>
                    <th width="40">操作</th>
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="vo" empty="$_html_empty"}
                <tr class="text-c va-m">
                    <td><input name="id[]" type="checkbox" value="{$vo.id}"></td>
                    <td>{$Think.get.page?(($Think.get.page-1)*$Think.config.paginate.list_rows+$i):($i)}</td>
                    <td style="display: none">
                        {$vo.sort|sortby=$vo.id}
                    </td>
                    <td class="hidden-xs">
                        <textarea rows="10" cols="120" readonly>{$vo.center}</textarea>
                        <br>
                        呢称：{$vo.user}|
                        电话：{$vo.tel}|
                        邮箱：{$vo.meil}|
                        {$vo.create_time|date="Y-m-d H:i:s",###}
                    </td>
                    <td style="display: none">
                        {$vo.status|status=$vo.id}
                    </td>
                    <td class="td-manage">


                        <a style="text-decoration:none" class="btn radius btn-xs btn-danger"
                           onClick="del('{:url(\''.\\think\\Request::instance()->controller().'/del')}',{$vo.id})"
                           href="javascript:;"
                           title="删除">删除</a>
                    </td>
                </tr>
                {/volist}
                </tbody>

            </table>
        </div>
    </form>
    {$list->render()}
</div>
{/block}